/*
 * @(#)ListFormTaskAction.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.form.web;

import com.dcivision.framework.SystemFunctionConstant;
import com.dcivision.framework.web.AbstractListAction;

/**
  ListFormTaskAction.java

  This class is for list form tracking

    @author          Tony Chen
    @company         DCIVision Limited
    @creation date   15/04/2005
    @version         $Revision: 1.2 $
*/

public class ListFormTaskAction extends AbstractListAction {

  public static final String REVISION = "$Revision: 1.2 $";
  
  public ListFormTaskAction() {
    super();
    this.setListName("formTaskList");
    this.setListFunctionName("getFormTaskList");      
  }

  /**
   * getMajorDAOClassName
   *
   * @return  The class name of the major DAObject will be used in this action.
   */
  public String getMajorDAOClassName() {
    return("com.dcivision.form.dao.FormSubmissionDAObject");
  }

  /**
   * getFunctionCode
   *
   * @return  The corresponding system function code of action.
   */
  public String getFunctionCode() {
    return(SystemFunctionConstant.FORM_TASK);
  }

}
